// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Vant from 'vant';
import 'vant/lib/vant-css/index.css';
import {utils} from './const.js'
import './config.js'
import service from "./apiNet";
import store from './store'


Vue.config.productionTip = false

Vue.use(Vant);
// Vue.use(Vuex)

router.beforeEach((to, from, next) => {
    // ...
    window.document.title = to.meta.title
    next();
})


// service.loadServerParam()

/* eslint-disable no-new */
window.app = new Vue({
    el: '#app',
    router,
    store,
    components: {App},
    template: '<App/>'
})
